package Controls;

import Core.Control;
import javax.microedition.lcdui.Graphics;

public class Line extends Control
{
	int color = 0xffffff;

	public Line(int len, int color)
	{
		super(len, 1);
		this.color = color;
		selectable = false;
	}

	public void draw(Graphics g, int x, int y)
	{
		g.setColor(color);
		g.drawLine(x, y, x+getW(), y);
	}
}
